package org.amphiprion.whohavethekids.query.view.builder;

import java.util.ArrayList;
import java.util.List;

import org.amphiprion.kidcalendar.entity.Configuration;
import org.amphiprion.kidcalendar.entity.Kid;

import android.content.Context;
import android.view.ViewGroup;

public class AllKidsInput implements QueryInputBuilder {
	private List<Kid> kids = new ArrayList<Kid>();

	@Override
	public void build(Context context, ViewGroup root, Configuration configuration) {
		kids = configuration.getKids();
	}

	@Override
	public Object getInput() {
		return kids;
	}

	@Override
	public boolean isInputValid() {
		return true;
	}
}
